<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>蜗牛OA系统</title>
<link href="${pageContext.request.contextPath }/resources/PUBLIC/skin/default/css/login.css"
	rel="stylesheet" type="text/css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath }/resources/PUBLIC/skin/default/js/login.js">
</script>

</head>

<body>
	<form id="login_main" method="post">
		<div id="warpbox">
			<div class="main">
				<div id="henfu">成都蜗牛OA办公系统</div>
				<div class="zck">
					<div class="zc">

						<div class="zc_line">
							用户名： <input type="text" class="text" value="userName"
								maxlength="10" name="userName" onfocus="this.value = '';"
								onblur="if (this.value == '') {this.value = 'userName';}" />
							<div id="ts" style="z-index: 1;"></div>
						</div>
						<div class="zc_line">
							密　码： <input maxlength="6" name="loginPass" type="password"
								value="loginPass" onfocus="this.value = '';"
								onblur="if (this.value == '') {this.value = 'loginPass';}"
								onkeyup="this.value=this.value.replace(/\D/g,'')" />
						</div>
					</div>
					<div class="dl">
						<input class="dl_img" value="" type="button"
							onclick="formSubmit('/oa/loginController/login');"
							onmouseover="this.style.background='url(${pageContext.request.contextPath }/resources/PUBLIC/skin/default/images/login/dl_h.jpg) no-repeat'"
							onmouseout="this.style.background='url(${pageContext.request.contextPath }/resources/PUBLIC/skin/default/images/login/dl_a.jpg) no-repeat'" />
						<input class="reset_img" value="" type="reset"
							onmouseover="this.style.background='url(${pageContext.request.contextPath }/resources/PUBLIC/skin/default/images/login/reset_h.jpg) no-repeat'"
							onmouseout="this.style.background='url(${pageContext.request.contextPath }/resources/PUBLIC/skin/default/images/login/reset_a.jpg) no-repeat'" />
					</div>
				</div>
				<div class="bqxx" style="text-align: right; margin-top: 0px;">
					<a href="#">系统帮助</a> | <a href="#" onclick="bookmarkit();">加入收藏</a>
				</div>

				<div class="mirro"></div>
			<p>${error}</p>
			</div>

		</div>
	</form>
<!-- 	<script type="text/JavaScript">
		document.getElementById('login_main').userName.focus();
	</script>
 -->
</body>
</html>